package com.zunipe.until;

import com.zunipe.ZunipeTools;
import com.zunipe.records.BlockPosWithColor;
import com.zunipe.render.RenderBlockList;
import net.minecraft.client.MinecraftClient;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.text.LiteralText;
import net.minecraft.util.math.BlockPos;

import java.util.HashSet;
import java.util.Set;

public class XrayFunction
{
    public static void XrayFunction(MinecraftClient client)
    {
        if (!Util.xrayOn)
        {
            Util.xrayOn = true;
            client.player.sendMessage(new LiteralText("§l矿物透视 §2§l开启"), true);
            ZunipeTools.os.reload();
        }
        else
        {
            Util.xrayOn = false;
            client.player.sendMessage(new LiteralText("§l矿物透视 §4§l关闭"), true);

        }
    }
}
